﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Jb.Search
{
    public class ReIndexResult
    {
        public int FoundItems { get; set; }
        public int DeletedIndexFromLucene { get; set; }
        public int ReIndexedItems { get; set; }
        public int DeletedIndexFromDB { get; set; }
    }
    public class SearchResult
    {
        public int ID { get; set; }
        public String Title { get; set; }
    }
    public class SearchPayload
    {
        public String Keyword { get; set; }
        public List<SearchFilter> Filters { get; set; }
    }
    public class SearchFilter
    {
        public String SearchType { get; set; }
        public String SearchField { get; set; }
        public String Value { get; set; }
    }
}
